package com.houtai.bean.dto.job;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@ApiModel(value="修改岗位所需参数", description="修改岗位所需参数")
public class TdJobUpdateDto {
    @NotNull(message = "岗位id不能为空")
    @ApiModelProperty(value="岗位id", name="job_id", example = "1")
    private int job_id;

    @NotEmpty(message = "岗位名称不能为空")
    @Length(max = 20, message = "岗位名称最多20个字符")
    @ApiModelProperty(value="岗位名称", name="job_name", example = "Java工程师")
    private String job_name;

    @NotNull(message = "学历id不能为空")
    @ApiModelProperty(value="学历id", name="diploma_id", example = "28")
    private int diploma_id;

    @NotNull(message = "工作经验不能为空")
    @ApiModelProperty(value="工作经验 年  0代表不限制", name="work_ages", example = "1")
    private int work_ages;

    @NotEmpty(message = "职位关键词不能为空")
    @Length(max = 100, message = "职位关键词最多100个字符")
    @ApiModelProperty(value="职位关键词  最多5个 以,分隔", name="job_keywords", example = "Java,java,后台开发")
    private String job_keywords;

    @NotEmpty(message = "任职要求不能为空")
    @Length(max = 2000, message = "任职要求最多2000个字符")
    @ApiModelProperty(value="任职要求", name="job_specification", example = "任职要求 精通奇偶发动机拉法基大法法师")
    private String job_specification;

    @NotEmpty(message = "岗位职责不能为空")
    @Length(max = 2000, message = "岗位职责最多2000个字符")
    @ApiModelProperty(value="岗位职责", name="responsibility", example = "负责传授荆防颗粒打开法兰克福达")
    private String responsibility;

    @NotNull(message = "工资区间id不能为空")
    @ApiModelProperty(value="工资区间id", name="wage_id", example = "49")
    private int wage_id;

    public int getJob_id() {
        return job_id;
    }

    public void setJob_id(int job_id) {
        this.job_id = job_id;
    }

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String job_name) {
        this.job_name = job_name;
    }

    public int getDiploma_id() {
        return diploma_id;
    }

    public void setDiploma_id(int diploma_id) {
        this.diploma_id = diploma_id;
    }

    public int getWork_ages() {
        return work_ages;
    }

    public void setWork_ages(int work_ages) {
        this.work_ages = work_ages;
    }

    public String getJob_keywords() {
        return job_keywords;
    }

    public void setJob_keywords(String job_keywords) {
        this.job_keywords = job_keywords;
    }

    public String getJob_specification() {
        return job_specification;
    }

    public void setJob_specification(String job_specification) {
        this.job_specification = job_specification;
    }

    public String getResponsibility() {
        return responsibility;
    }

    public void setResponsibility(String responsibility) {
        this.responsibility = responsibility;
    }

    public int getWage_id() {
        return wage_id;
    }

    public void setWage_id(int wage_id) {
        this.wage_id = wage_id;
    }
}
